package shujia.day19.lambdademo3;

public class FilterStaffWithSalary implements FilterStaff{
    @Override
    public boolean filterStaffWithCondition(Staff staff) {
        return staff.getSalary()>10000;
    }
}
